package jdk7;

/**
 * @author honway.liu
 * @date 2018/4/30 下午10:07
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
public class DaemoDemo {

    public static void main(String[] args) {
        Thread thread = new Thread(() -> {
            while (true){
                System.out.println("Orz...");
            }
        });
        thread.setDaemon(true);
        thread.start();
    }
}
